/**
 * Created by Administrator on 2017/3/27.
 */


import React, {Component}from 'react';
import {Modal, Button} from 'antd';
import InputBox from "../../common/InputBox.js";

export default class SelCompanyType extends React.Component {

    constructor(props) {
        super(props);
        this.state = {
            visible: false,
        }
        this.Style = {};
    }

    componentDidMount() {

    }


    showModal = () => {
        this.setState({
            visible: true,
        });

    }
    handleOk = (e) => {
        this.setState({
            visible: false,
        });
    }
    handleCancel = (e) => {
        this.setState({
            visible: false,
        });
    }

    render() {
        return (
            <div>
                <Modal visible={this.state.visible} onOk={this.handleOk} onCancel={this.handleCancel}
                       style={{width: "634px", height: "140px", display: "block"}} title={"企业类型"}>
                    <div style={{position: "absolute", left: 66, top: -30}}>
                        <span>企业名称：</span><span>{this.state.companyName}</span></div>
                    <InputBox multiline defaultvalute="内容最多不得超过200个字。" titletext="" space="12px" style={{
                        width: 338,
                        height: 115,
                        borderColor: "#d7d7d7",
                        color: "#999",
                        marginTop: 50,
                        paddingRight: 123,
                        paddingLeft: 100
                    }} ref={'usedescription'}/>
                    <span style={{position: "absolute", left: 64, top: 0, width: 84, height: 18}}>*禁用原因</span>
                </Modal>
            </div>
        )
    }
}